/**
 *
 */
package com.storm.lib.type;

import java.util.HashMap;
import java.util.List;



/**
 * 类功能: 定时器常量类
 * @author johnny
 * @version 2010-11-25
 */
public class TimerType {


	/**
	 * 未执行状态
	 */
	public static final short TIMER_STATE_WAIT = 0;

	/**
	 * 完成状态
	 */
	public static final short TIMER_STATE_FINISHED = 1;


	public static HashMap<Integer, Class> MAPPING_TIMER_TYPE =new HashMap<Integer, Class>();

	
	public static void init(int[] timerTypes,Class[] clazz){
		for (int i = 0; i < clazz.length; i++) {
			MAPPING_TIMER_TYPE.put(timerTypes[i], clazz[i]);
		}
	}



}
